<?php

namespace Drupal\shusy_store_order\ViewsController\handler\filter;

use Drupal\shusy_store_order\ViewsController\Traits\ShusyStoreOrderStatusTrait;
use views_handler_filter_in_operator;

class ShusyStoreOrderStatusViewsFilter extends views_handler_filter_in_operator {

  use ShusyStoreOrderStatusTrait;

  function get_value_options() {
    if (!isset($this->value_options)) {
      $this->value_title = "状态 0 取消 1 购物车 2 待支付 3 待发货 4 待收货 5 待评价 6 已完成 7 未提交";
      $this->value_options = $this->getStatusOptions();
    }
  }
}
